import { PORT1 } from "@/api/config/servicePort";
import http from "@/api";

export const listByPage = params => {
  let data = http.post(PORT1 + `/geek/shop/member/listByPage`, params);
  return data;
};
export const deleteData = params => {
  return http.delete(PORT1 + `/geek/shop/member/deleteData?id=` + params);
};

export const addData = params => {
  return http.post(PORT1 + `/geek/shop/member/addData`, params);
};

export const updateData = params => {
  return http.post(PORT1 + `/geek/shop/member/updateData`, params);
};
